Tips Trik Cloud Services
High Availability on NGINX
- Gilang V. Perdana
- 28 Nov 2021
- dilihat 766

High Availability on NGINX
1. Instalasi Nginx sebagai Web Server :
$ apt update
$ sudo apt install -y nginx
2. Custom HTML :
Untuk membuktikan HA nantinya, kita akan membuat 2file index yang berbeda.
$ echo “This is NGINX Web Server from Node 1
” | sudo tee /var/www/html/index.html
$ echo “This is NGINX Web Server from Node 2
” | sudo tee /var/www/html/index.html
3. Instalasi Keep Alived :
0 Komentar